
package com.hisense.settings;

import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.view.View.OnClickListener;
import android.widget.Button;
//import com.marvell.willowtv.framework.features.TvFramework;
import android.util.Log;
import com.hisense.settings.MyCheck;
import com.hisense.settings.base.TVBaseDialog;
import com.hisense.settings.util.Wrapper;

public class ResetModeActivity extends TVBaseDialog {

    private Button mButton_Ok;
    private Button mButton_Cancel;
    private ProgressDialog progressDialog = null;
    private boolean canReturn = true;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Log.d("rt", "**********in oncreate -ResetModeActivity begin-------");

        Wrapper.getWrapperInstance().setPCRatingEnable(0);

        Wrapper.getWrapperInstance().setPCEnable(0);

        //TvFramework.getInstance().getParentalControlInstance().resetParentalLockSettings();
        //TvFramework.getInstance().getParentalControlInstance().resetServiceLock();

        if (MyCheck.click_flag == 1) {
            // MyCheck.clear_mycheck();
        }

        finish();
    }

    @Override
    public void onDestroy() {
        Log.d("tr", "**********in ResetModeActivity on destroy-------");
        super.onDestroy();

    }

}
